package com.xunker.appointment.service;

import com.alibaba.fastjson.JSONObject;

import java.io.IOException;
import java.util.Map;

public interface ApiService {
    String getHospitalCode();
    String getSignKey();
    JSONObject getHospital();
    boolean saveHospital(String data);
    Map<String,Object> findDepartment(int pageNum,int pageSize);
    boolean saveDepartment(String data);
    boolean removeDepartment(String departmentCode);
    Map<String,Object> findSchedule(int pageNum,int pageSize);
    boolean saveSchedule(String data);
    boolean removeSchedule(Long hosScheduleId);
    void saveBatchHospital() throws IOException;
}
